package api

import (
	"github.com/gin-gonic/gin"
	"test-paper/api/handler"
)

func PaPer(r *gin.Engine) {
	api := r.Group("/api")
	{
		test := api.Group("/test")
		{
			test.POST("/create", handler.CreateTest)
			test.POST("/find", handler.FindTest)
			test.POST("/upload", handler.Upload)
		}
	}
}
